
from hashlib import sha256
import random
import string

def sha256_def(x,sha256_hash):
    a = string.ascii_letters + string.digits
    for i1 in a:
        for i2 in a:
            for i3 in a:
                for i4 in a:
                    c=i1+i2+i3+i4+x
                    c=c.encode()
                    if sha256(c).hexdigest() == sha256_hash:
                        print(i1+i2+i3+i4)
                        return i1+i2+i3+i4


#HA256(XXXX + KAihXxenhNw2c520):f081a352f6aab552830abd282728051b7d5289bde16d552b7e9b9785259f213e
x='KAihXxenhNw2c520'
sha256_hash='f081a352f6aab552830abd282728051b7d5289bde16d552b7e9b9785259f213e'
sha256_def(x,sha256_hash)